package com.yihu.article.beans;

import java.util.Date;

import org.codehaus.jackson.annotate.JsonIgnoreProperties;

/***
 * 文章附件
 * @author Aaron
 *
 */
@JsonIgnoreProperties(ignoreUnknown=true)
public class Attachment {

	private String id;
	private String fileid;
	private String filename;
	private String dbFileName;
	private String parentFolder;
	private String folder;
	private long filesize;
	private String filetype;
	private boolean has_file;
	private boolean is_dir;
	private boolean is_photo;
	private Date datetime = new Date();
	private String url;
	
	
	public String getFolder() {
		return folder;
	}
	public void setFolder(String folder) {
		this.folder = folder;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getFileid() {
		return fileid;
	}
	public void setFileid(String fileid) {
		this.fileid = fileid;
	}
	public String getFilename() {
		return filename;
	}
	public void setFilename(String filename) {
		this.filename = filename;
	}
	public String getDbFileName() {
		return dbFileName;
	}
	public void setDbFileName(String dbFileName) {
		this.dbFileName = dbFileName;
	}
	public String getParentFolder() {
		return parentFolder;
	}
	public void setParentFolder(String parentFolder) {
		this.parentFolder = parentFolder;
	}
	public long getFilesize() {
		return filesize;
	}
	public void setFilesize(long filesize) {
		this.filesize = filesize;
	}
	public String getFiletype() {
		return filetype;
	}
	public void setFiletype(String filetype) {
		this.filetype = filetype;
	}
	public boolean isHas_file() {
		return has_file;
	}
	public void setHas_file(boolean has_file) {
		this.has_file = has_file;
	}
	public boolean isIs_dir() {
		return is_dir;
	}
	public void setIs_dir(boolean is_dir) {
		this.is_dir = is_dir;
	}
	public boolean isIs_photo() {
		return is_photo;
	}
	public void setIs_photo(boolean is_photo) {
		this.is_photo = is_photo;
	}
	public Date getDatetime() {
		return datetime;
	}
	public void setDatetime(Date datetime) {
		this.datetime = datetime;
	};
	
	
	
	
}
